package com.derbysoft.lowcostadapter.commons.redis.service;

import com.derbysoft.lowcostadapter.commons.model.RoomType;

import java.util.List;

public interface RoomTypeCacheService {
    RoomType load(String key);

    RoomType loadByRoomTypeId(int roomTypeId);

    void saveAll(List<RoomType> roomTypes);
}
